package com.intellagric.service.traceability.trace_invest;

import com.intellagric.common.pojo.LayuiDataGridResult;
import com.intellagric.common.pojo.ResponseMessage;
import com.intellagric.module.traceability.InvestVo;
import com.intellagric.pojo.TraceInvest;

/**
 * @Author: zhy
 * @email: 1269679946@qq.com
 * @Date: 2018/11/6
 * @DESC： 投入品信息记录表管理服务接口
 */
public interface InvestService {

    //增加场地信息
    ResponseMessage addInvest(TraceInvest invest);

    //删除场地信息
    ResponseMessage deleteInvest(String id);

    //修改场地信息
    ResponseMessage editInvest(TraceInvest invest);

    //查询场地信息
    TraceInvest getInvestById(String id);
    LayuiDataGridResult getInvestList();
    LayuiDataGridResult getInvestPage(int page ,int rows);
    LayuiDataGridResult getInvestPage(int page ,int rows,String createBy);
    LayuiDataGridResult getInvestByVo(InvestVo investVo);

    LayuiDataGridResult queryByVo(int page, int limit, InvestVo vo);
}
